//
//  TLMallChannelModel.h
//  WXReader
//
//  Created by huaya on 2025/2/11.
//  Copyright © 2025 Andrew. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TLMallBannerModel.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, TLShowType) {
    TLShowTypeUnknown = 0,  // unknown (0)
    TLShowTypeThreeColumn = 1,  // 三宫图 (1)
    TLShowTypeWaterfallFlow = 2,  // 瀑布流 (2)
    TLShowTypeInfoFlow = 3,  // 信息流 (3)
    TLShowTypeBanner = 4,  // banner (4)
    TLShowTypeModular = 5  // 模块化 (5)
};

@interface TLMallChannelModel : NSObject

// 封面图片
@property (nonatomic, copy) NSString *coverPic;

// 路由
@property (nonatomic, copy) NSString *routing;

// 简介
@property (nonatomic, copy) NSString *desc;

// 作品类别 (0:短篇，1:长篇)
@property (nonatomic, copy) NSString *worksType;

// 作者
@property (nonatomic, copy) NSString *author;

// 推荐内容
@property (nonatomic, copy) NSString *recommended;

// 广告列表
@property (nonatomic, copy) NSArray<TLMallBannerModel *> *bannerList;
// 小说标签
@property (nonatomic, copy) NSString *tagsName;

// 模块名称
@property (nonatomic, copy) NSString *moduleName;

// 模块主键ID
@property (nonatomic, copy) NSString *moduleId;

// 作品主键ID
@property (nonatomic, copy) NSString *worksId;

// 显示类型
@property (nonatomic, copy) NSString *showType;

// 是否完结 (1 完结，0 连载中)
@property (nonatomic, copy) NSString *isEnd;

// 收藏次数
@property (nonatomic, copy) NSNumber* collectNum;

// 排序
@property (nonatomic, copy) NSNumber* sort;

@property (nonatomic, copy) NSNumber* viewNum;

// 作品名称
@property (nonatomic, copy) NSString *worksName;

@property (nonatomic, assign) CGFloat cellHeight;

@end

NS_ASSUME_NONNULL_END
